<template>
  <div>
    <div class="header">
      <span @click="fun()">&lt;</span>
      <span @click="fun()">x</span>
      <span>全球通蓝色梦想计划</span>
    </div>
    <div class="banner">
      <img src="img/zhangimg/gongyi/1.gif" alt="" />
    </div>
    <main>
      <div class="main">
        <figure>
          <img src="img/zhangimg/gongyi/2.gif" alt="" />
          <figcaption>积分捐</figcaption>
        </figure>
        <figure>
          <img src="img/zhangimg/gongyi/3.gif" alt="" />
          <figcaption>现金捐</figcaption>
        </figure>
        <figure>
          <img src="img/zhangimg/gongyi/4.gif" alt="" />
          <figcaption>一起捐</figcaption>
        </figure>
      </div>
      <h1>为教育出力</h1>
      <div class="hua">
        <dl>
          <img src="img/zhangimg/gongyi/5.gif" alt="" />
          <dd>陕西万青小学</dd>
          <dt>已筹139800 积分</dt>
          <dt>已筹665.1现金</dt>
        </dl>
        <dl>
          <img src="img/zhangimg/gongyi/6.gif" alt="" />
          <dd>陕西岳坝小学</dd>
          <dt>已筹119800 积分</dt>
          <dt>已筹626.15现金</dt>
        </dl>
        <dl>
          <img src="img/zhangimg/gongyi/7.gif" alt="" />
          <dd>新疆实验中学</dd>
          <dt>已筹49800 积分</dt>
          <dt>已筹1现金</dt>
        </dl>
        <dl>
          <img src="img/zhangimg/gongyi/8.gif" alt="" />
          <dd>新疆县直小学</dd>
          <dt>已筹139800 积分</dt>
          <dt>已筹1.1现金</dt>
        </dl>
        <dl>
          <img src="img/zhangimg/gongyi/9.gif" alt="" />
          <dd>辽宁城关中学</dd>
          <dt>已筹12500 积分</dt>
          <dt>已筹3.1现金</dt>
        </dl>
        <dl>
          <img src="img/zhangimg/gongyi/10.gif" alt="" />
          <dd>辽宁实验中学</dd>
          <dt>已筹118000 积分</dt>
          <dt>已筹626.15现金</dt>
        </dl>
      </div>
      <h1>公益足迹</h1>
      <div class="hua">
        <dl>
          <img src="img/zhangimg/gongyi/11.gif" alt="" />
          <dd>广东-南雄市实验小学</dd>
          <dt>参与捐赠0次</dt>
        </dl>
        <dl>
          <img src="img/zhangimg/gongyi/12.gif" alt="" />
          <dd>江西-井冈山黄坳中学</dd>
          <dt>参与捐赠0次</dt>
        </dl>
        <dl>
          <img src="img/zhangimg/gongyi/13.gif" alt="" />
          <dd>山西-隰县第四小学</dd>
          <dt>参与捐赠0次</dt>
        </dl>
        <dl>
          <img src="img/zhangimg/gongyi/14.gif" alt="" />
          <dd>湖南-花垣县民乐镇两河中心小学</dd>
          <dt>参与捐赠0次</dt>
        </dl>
        <dl>
          <img src="img/zhangimg/gongyi/15.gif" alt="" />
          <dd>贵州-黔东南州雷山县第三小学</dd>
          <dt>参与捐赠0次</dt>
        </dl>
        <dl>
          <img src="img/zhangimg/gongyi/16.gif" alt="" />
          <dd>宁夏-吴忠市利通区第七小学</dd>
          <dt>参与捐赠0次</dt>
        </dl>
      </div>
      <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
        <van-swipe-item><img src="img/zhangimg/gongyi/17.gif" alt=""></van-swipe-item>
        <van-swipe-item><img src="img/zhangimg/gongyi/18.gif" alt=""></van-swipe-item>
      </van-swipe>
      <h1>公益看点</h1>
      <div class="big-box">
          <div class="small-box">
              <img src="img/zhangimg/gongyi/19.gif" alt="">
              <div class="little-box">
                  <p>全球公益助学@昌江站|1元</p>
                  <p>点亮孩子的未来</p>
                  <b>了解详情</b>
                  <b class="b1">2022-04-26</b>
              </div>
          </div>
          <div class="small-box">
              <img src="img/zhangimg/gongyi/20.gif" alt="">
              <div class="little-box">
                  <p>全球公益助学@昌江站|1元</p>
                  <p>点亮孩子的未来</p>
                  <b>了解详情</b>
                  <b class="b1">2022-04-26</b>
              </div>
          </div>
      </div>
      <div class="footer">
          <img src="img/zhangimg/gongyi/21.gif" alt="">
          <img class="img2" src="img/zhangimg/gongyi/22.gif" alt="">
      </div>
    </main>
  </div>
</template>

<script>
export default {
  methods: {
    fun() {
      this.$router.go(-1);
    },
  },
};
</script>

<style scoped>
.header {
  width: 3.6rem;
  height: 0.5rem;
  line-height: 0.5rem;
}
.header span:nth-child(1) {
  margin: 0.2rem 0.2rem 0 0.14rem;
  font-size: 0.25rem;
}
.header span:nth-child(2) {
  margin-right: 0.6rem;
  font-size: 0.25rem;
}
.header span:nth-child(3) {
  font-size: 0.18rem;
  font-weight: 900;
}
.banner {
  width: 100%;
  height: 2.31rem;
}
.banner img {
  width: 100%;
  height: 2.31rem;
}
main {
  background: #fefefe;
}
main .main {
  width: 3.6rem;
  height: 1.08rem;
  display: flex;
  justify-content: space-around;
  margin-left: 0.14rem;
  margin-top: 0.2rem;
}
main .main figure img {
  width: 0.58rem;
  height: 0.58rem;
}
main h1 {
  width: 3.6rem;
  height: 0.56rem;
  font-size: 0.18rem;
  margin-left: 0.14rem;
  line-height: 0.56rem;
}
main .hua {
  width: 3.6rem;
  height: 2.63rem;
  margin-left: 0.14rem;
  display: flex;
  align-items: center;
  flex: 1;
  overflow: auto;
  text-align: center;
}
main .hua dl {
  width: 1.52rem;
  height: 2.2rem;
  background-color: white;
  margin-left: 0.1rem;
  border-radius: 0.1rem;
}
main .hua dl img {
  width: 1.52rem;
  height: 1.13rem;
}
main .hua dl dd {
  font-size: 0.14rem;
  font-weight: 900;
  margin-bottom: 0.2rem;
}
main .hua dl dt {
  font-size: 0.1rem;
}
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: .98rem;
  text-align: center;
}
.my-swipe .van-swipe-item img{
    width: 3.38rem;
    height: .98rem;
}
.big-box .small-box{
    width: 3.6rem;
    height: .89rem;
    display: flex;
    margin-left: .14rem;
}
.big-box .small-box .little-box{
    margin-left: .1rem;
}
.big-box .small-box .little-box b{
    display: block;
    color: aqua;
    font-size: .12rem;
}
.big-box .small-box .little-box .b1{
    color: gray;
}
.footer{
    margin-top: .1rem;
    margin-left: .14rem;
}
.footer img{
  width: 3.37rem;
  height: 1.18rem;
}
.footer .img2{
    width: .86rem;
    height: .23rem;
    margin-left: 1.4rem;
    margin-top: .2rem;
    margin-bottom: .1rem;
}
</style>